﻿@model SklepISI.Web.Models.ChangePasswordModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "ChangePassword";
}

<h2 class="offset2">Zmiana hasła</h2>
<div class="log-form well offset2">
    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
    
        @Html.LabelFor(m=>m.OldPassword)        
        @Html.PasswordFor(m=>m.OldPassword)    
        @Html.LabelFor(m=>m.Password)
        @Html.PasswordFor(m=>m.Password)       
        @Html.LabelFor(m=>m.PasswordRetype)
        @Html.PasswordFor(m=>m.PasswordRetype)
        <p>
            <input type="submit" class="btn btn-large btn-primary" value="Change Password" />
        </p>
        <div class="alert alert-info">@Html.ValidationSummary()</div>
    }
</div>